<!DOCTYPE html>
<html>
<head>
    

    

    



    <meta charset="utf-8">
    
    
    
    <title>尹义斌•Blog | MyBlog</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="theme-color" content="#3F51B5">
    
    
    <meta name="keywords" content="undefined">
    <meta name="description" content="一个技术博客和生活琐碎博客">
<meta property="og:type" content="website">
<meta property="og:title" content="尹义斌•Blog">
<meta property="og:url" content="http://yybblog.cn/index.html">
<meta property="og:site_name" content="尹义斌•Blog">
<meta property="og:description" content="一个技术博客和生活琐碎博客">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="尹义斌•Blog">
<meta name="twitter:description" content="一个技术博客和生活琐碎博客">
    
        <link rel="alternate" type="application/atom+xml" title="尹义斌•Blog" href="/atom.xml">
    
    <link rel="shortcut icon" href="/favicon.ico">
    <link rel="stylesheet" href="//unpkg.com/hexo-theme-material-indigo@latest/css/style.css">
    <script>window.lazyScripts=[]</script>
</head>

<body>
    <div id="loading" class="active"></div>

    <aside id="menu"  >
  <div class="inner flex-row-vertical">
    <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
        <i class="icon icon-lg icon-close"></i>
    </a>
    <div class="brand-wrap" style="background-image:url(/img/brand.jpg)">
      <div class="brand">
        <a href="/" class="avatar waves-effect waves-circle waves-light">
          <img src="/img/avatar.jpg">
        </a>
        <hgroup class="introduce">
          <h5 class="nickname">尹义斌</h5>
          <a href="mailto:yinyibin5683@163.com" title="yinyibin5683@163.com" class="mail">yinyibin5683@163.com</a>
        </hgroup>
      </div>
    </div>
    <div class="scroll-wrap flex-col">
      <ul class="nav">
        
            <li class="waves-block waves-effect active">
              <a href="/"  >
                <i class="icon icon-lg icon-home"></i>
                主页
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/archives"  >
                <i class="icon icon-lg icon-archives"></i>
                文章
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/tags"  >
                <i class="icon icon-lg icon-tags"></i>
                标签
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/categories"  >
                <i class="icon icon-lg icon-th-list"></i>
                Categories
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://github.com/yyb568" target="_blank" >
                <i class="icon icon-lg icon-github"></i>
                Github
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="http://weibo.com/yyb5683" target="_blank" >
                <i class="icon icon-lg icon-weibo"></i>
                微博
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/custom"  >
                <i class="icon icon-lg icon-link"></i>
                测试
              </a>
            </li>
        
      </ul>
    </div>
  </div>
</aside>

    <main id="main">
        <header class="top-header" id="header">
    <div class="flex-row">
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
          <i class="icon icon-lg icon-navicon"></i>
        </a>
        <div class="flex-col header-title ellipsis">尹义斌•Blog</div>
        
        <div class="search-wrap" id="search-wrap">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
                <i class="icon icon-lg icon-chevron-left"></i>
            </a>
            <input type="text" id="key" class="search-input" autocomplete="off" placeholder="输入感兴趣的关键字">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
                <i class="icon icon-lg icon-search"></i>
            </a>
        </div>
        
        
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
            <i class="icon icon-lg icon-share-alt"></i>
        </a>
        
    </div>
</header>
<header class="content-header index-header">

    <div class="container fade-scale">
        <h1 class="title">尹义斌•Blog</h1>
        <h5 class="subtitle">
            
                MyBlog
            
        </h5>
    </div>

    


</header>

<div class="container body-wrap">

    <ul class="post-list">
    
        <li class="post-list-item fade">
            <article id="post-find()"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017-07-25 10:39:27" datetime="2017-07-25T02:39:27.522Z"  itemprop="datePublished">2017-07-25</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/07/25/find()/">find()的用法</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        find():find() 方法返回被选元素的后代元素,一直找到最后一个后台元素(也就是找到所有find(“xxx”)的元素).

例如我代码里面有篇文章,$soft[‘content’]代表文章内容(包括文字和图片):123&lt;div class=&quot;col-xs-12 mt3&quot; id=&quot;content_product&quot; &gt;	&lt;?=$s...
    

        <a href="/2017/07/25/find()/" class="post-more waves-effect waves-button">
            阅读全文…
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/jQery/">jQery</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-stripos的用法"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017-07-20 15:15:46" datetime="2017-07-20T07:15:46.586Z"  itemprop="datePublished">2017-07-20</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/07/20/stripos的用法/">stripos()的用法</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        这个函数经常用到,并且能快速判断,某字符串是否在另一字符串中出现,常用在条件判断中;
定义和用法stripos(string,find)参一:另一串字符参二:要查找的字符
例子:123$content = &apos;Hello World MyBlog&apos;;$appear = stripos($content,&apos;my&apos;);print_r($appear);
结果...
    

        <a href="/2017/07/20/stripos的用法/" class="post-more waves-effect waves-button">
            阅读全文…
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PHP/">PHP</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-json_decode和json_encode的使用方法"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017-07-20 08:44:43" datetime="2017-07-20T00:44:43.260Z"  itemprop="datePublished">2017-07-20</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/07/20/json_decode和json_encode的使用方法/">json_decode和json_encode的使用方法</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        json_decode对json格式的字符串进行编码也就是转化成PHP变量123$content = $this-&gt;curl-&gt;get(&quot;http://sj.apidata.cn/?mobile=&#123;$phone&#125;&quot;);$contents = json_decode($content);print_r(contents);
打印结果(结果是一...
    

        <a href="/2017/07/20/json_decode和json_encode的使用方法/" class="post-more waves-effect waves-button">
            阅读全文…
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PHP/">PHP</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-如何在七牛云储存创建及使用空间"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017-07-18 09:28:16" datetime="2017-07-18T01:28:16.000Z"  itemprop="datePublished">2017-07-18</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/07/18/如何在七牛云储存创建及使用空间/">如何在七牛云储存创建及使用空间</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        为什么选择七牛云1.直接在网页管理后台上传图片2.直接获取复制完整外链即可（注意右侧的图片预览功能，这个对于图片多了之后防止误操作很是实用）3.免费的使用空间和流量4.对于新用户，七牛云存储免费赠送10G 的使用空间+10G/月的流量，对于小博客来说，是完全够用了。
如何新建空间七牛云官网
1.如果未注册请进行注册,注册完成之后(不实名认证也可以使用免费空间)点击左边一栏新建存储空间:

 ...
    

        <a href="/2017/07/18/如何在七牛云储存创建及使用空间/" class="post-more waves-effect waves-button">
            阅读全文…
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/七牛云/">七牛云</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-你好"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017-07-17 09:28:16" datetime="2017-07-17T01:28:16.000Z"  itemprop="datePublished">2017-07-17</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/07/17/你好/">新博客</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        为什么会将博客转移到GitHub上
首先github是完全免费开放的
不需要你再去花额外金钱去购买云服务器
安装配置简单,网上教程一大片
模板很多,可以根据喜好选择不同模板

搭建自己的Hexo + GitHub 博客我好久之前就有一个自己的技术博客,由于前段时间很忙,忘了给腾讯云付费,就给我停服务了,可惜了我那些学习笔记和工作中的总结.索性我也不用了,但是有了这个以后就再也不怕给我停服务了...
    

        <a href="/2017/07/17/你好/" class="post-more waves-effect waves-button">
            阅读全文…
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/博客/">博客</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-hello-world"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2016-10-17 09:28:16" datetime="2016-10-17T01:28:16.000Z"  itemprop="datePublished">2016-10-17</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2016/10/17/hello-world/">Hello World</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Qu...
    

        <a href="/2016/10/17/hello-world/" class="post-more waves-effect waves-button">
            阅读全文…
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PHP/">PHP</a></li></ul>

    </div>
    
</article>

        </li>
    
    </ul>

    

</div>

        <footer class="footer">
    <div class="top">
        
<p>
    <span id="busuanzi_container_site_uv" style='display:none'>
        站点总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style='display:none'>
        站点总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


    </div>
</footer>

    </main>
    <div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>



<div class="global-share" id="globalShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://yybblog.cn/&title=尹义斌•Blog&pic=http://yybblog.cn/img/avatar.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://yybblog.cn/&title=尹义斌•Blog&source=一个技术博客和生活琐碎博客" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://yybblog.cn/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=尹义斌•Blog&url=http://yybblog.cn/&via=http://yybblog.cn" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://yybblog.cn/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>


<div class="page-modal wx-share" id="wxShare">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <p>扫一扫，分享到微信</p>
    <img src="" alt="微信分享二维码">
</div>




    <script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/', SHARE: true, REWARD: false };


</script>

<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/main.min.js"></script>


<div class="search-panel" id="search-panel">
    <ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
    <a href="{path}" class="waves-block waves-effect">
        <div class="title ellipsis" title="{title}">{title}</div>
        <div class="flex-row flex-middle">
            <div class="tags ellipsis">
                {tags}
            </div>
            <time class="flex-col time">{date}</time>
        </div>
    </a>
</li>
</template>

<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/search.min.js" async></script>






<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>



<script>
(function() {
    var OriginTitile = document.title, titleTime;
    document.addEventListener('visibilitychange', function() {
        if (document.hidden) {
            document.title = '死鬼去哪里了！';
            clearTimeout(titleTime);
        } else {
            document.title = '(つェ⊂)咦!又好了!';
            titleTime = setTimeout(function() {
                document.title = OriginTitile;
            },2000);
        }
    });
})();
</script>



</body>
</html>
